{
  "openapi": "3.0.1",
  "info": {
      "title": "驾校线索服务",
      "description": "volvo",
      "contact": {
          "name": "lilin",
          "url": "https://www.mucang.cn"
      },
      "version": "1.0",
      "simpleActionPackage": "cn.mucang.volvo.coach.action"
  },
  "servers": [
      {
          "url": "http://localhost:8080"
      }
  ],
  "tags": [
      {
          "name": "cn.mucang.simple.access.action.admin.ConfigAction",
          "description": "",
          "class": "cn.mucang.simple.access.action.admin.ConfigAction"
      },
      {
          "name": "cn.mucang.simple.config.action.SystemConfigAction",
          "description": "",
          "class": "cn.mucang.simple.config.action.SystemConfigAction"
      },
      {
          "name": "cn.mucang.simple.mvc.log.LogLevelAction",
          "description": "",
          "class": "cn.mucang.simple.mvc.log.LogLevelAction"
      },
      {
          "name": "教练已购买线索",
          "description": "教练已购买线索相关接口",
          "class": "cn.mucang.volvo.coach.action.api.internal.CoachLeadAction"
      },
      {
          "name": "教练相关接口",
          "description": "",
          "class": "cn.mucang.volvo.coach.action.api.open.v4.auth.CoachAction"
      },
      {
          "name": "教练线索购买",
          "description": "教练线索购买相关接口",
          "class": "cn.mucang.volvo.coach.action.api.open.v4.auth.CoachLeadPayAction"
      },
      {
          "name": "线索相关接口",
          "description": "",
          "class": "cn.mucang.volvo.coach.action.api.open.v4.auth.LeadAction"
      }
  ],
  "paths": {
      "/api/admin/simple-access/admin/config/get.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.access.action.admin.ConfigAction"
              ],
              "operationId": "57e97fca3dd39f93fa5777172f794ecd",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {}
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/admin/system-config/update.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.config.action.SystemConfigAction"
              ],
              "operationId": "c42f64f1d28eb9dc3d6e8ee7a988d320",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/admin/system-config/list.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.config.action.SystemConfigAction"
              ],
              "operationId": "e612483d02d42e801cb8ed8a17d854ce",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "array",
                                          "items": {
                                              "type": "object"
                                          }
                                      },
                                      "paging": {
                                          "properties": {
                                              "page": {
                                                  "type": "integer",
                                                  "format": "int32"
                                              },
                                              "total": {
                                                  "type": "integer",
                                                  "format": "int32"
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/admin/system-config/delete.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.config.action.SystemConfigAction"
              ],
              "operationId": "25f0584ddf894c0a9b0539d10568f152",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/admin/system-config/create.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.config.action.SystemConfigAction"
              ],
              "operationId": "b5203f67ee5d7f84f759c293b36abd34",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/admin/system-config/view.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.config.action.SystemConfigAction"
              ],
              "operationId": "6a5c50f2a650bd35d68460821953a5c0",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/SystemConfigEntity"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/__/log-level/set.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.mvc.log.LogLevelAction"
              ],
              "operationId": "ad66a95396764add3d830affa06ebcea",
              "parameters": [
                  {
                      "name": "rootLevel",
                      "in": "query",
                      "required": false,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "name",
                      "in": "query",
                      "required": false,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "level",
                      "in": "query",
                      "required": false,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "expireMinutes",
                      "in": "query",
                      "description": "",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/__/log-level/reset.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.mvc.log.LogLevelAction"
              ],
              "operationId": "b3447214dd8211ccfd7452bf20348745",
              "parameters": [
                  {
                      "name": "name",
                      "in": "query",
                      "required": false,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/__/log-level/configs.htm": {
          "get": {
              "tags": [
                  "cn.mucang.simple.mvc.log.LogLevelAction"
              ],
              "operationId": "a20dfae7863179f566366639ded69efe",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/lead-stat.htm": {
          "get": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "线索数据统计",
              "description": "",
              "operationId": "2aa801fd1ae88a2bfde4c6fb4d9978c2",
              "parameters": [
                  {
                      "name": "startTime",
                      "in": "query",
                      "description": "起始时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "endTime",
                      "in": "query",
                      "description": "截止时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/LeadStatResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/yesterday-lead-stat.htm": {
          "post": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "昨日线索统计",
              "description": "",
              "operationId": "7fd235d4f573c76fde8e69a41387b7af",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonArrayResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/get-lead-count-of-score.htm": {
          "post": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "查询教练使用金币优惠购买线索数量",
              "description": "",
              "operationId": "9e4f4b03a4e9bac44782bdef288170d2",
              "parameters": [
                  {
                      "name": "coachId",
                      "in": "query",
                      "description": "教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "startTime",
                      "in": "query",
                      "description": "购买开始时间",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "endTime",
                      "in": "query",
                      "description": "购买结束时间",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/get-lead-can-appeal.htm": {
          "post": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "获取线索是否支持申诉",
              "description": "",
              "operationId": "f2cd6de90c4ea36fe77b99082003641b",
              "parameters": [
                  {
                      "name": "leadNos",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {}
                  },
                  {
                      "name": "coachId",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/get-lead-receive-valid-coach.htm": {
          "post": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "获取可以线索接收的有效教练",
              "description": "",
              "operationId": "1b867df7315a77e899855751880fe81d",
              "parameters": [
                  {
                      "name": "driveLicenseType",
                      "in": "query",
                      "description": "驾照类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "longitude",
                      "in": "query",
                      "description": "经度",
                      "style": "form",
                      "schema": {
                          "type": "number"
                      }
                  },
                  {
                      "name": "latitude",
                      "in": "query",
                      "description": "纬度",
                      "style": "form",
                      "schema": {
                          "type": "number"
                      }
                  },
                  {
                      "name": "cityCode",
                      "in": "query",
                      "description": "城市编码",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/get-coach-paid-gt-zero-not-refund-lead-count.htm": {
          "get": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "教练购买线索实付大于0且未退款的线索数",
              "description": "",
              "operationId": "f45cb5d930a2cf3ba9709987e2e8e4c8",
              "parameters": [
                  {
                      "name": "startTime",
                      "in": "query",
                      "description": "起始时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "endTime",
                      "in": "query",
                      "description": "截止时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/get-score-paid-count.htm": {
          "get": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "获取使用金币支付的线索数",
              "description": "",
              "operationId": "f95d1191698fe83f00b3886f89ed5918",
              "parameters": [
                  {
                      "name": "beginTime",
                      "in": "query",
                      "description": "起始时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "endTime",
                      "in": "query",
                      "description": "截止时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "integer",
                                          "format": "int32"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/score-task-detail.htm": {
          "get": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "获取教练金币任务明细",
              "description": "",
              "operationId": "eae625e51024c0cc7475bfd5a294e718",
              "parameters": [
                  {
                      "name": "coachId",
                      "in": "query",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/internal/coach-lead/pickup-score.htm": {
          "post": {
              "tags": [
                  "教练已购买线索"
              ],
              "summary": "教练金币任务领取",
              "description": "",
              "operationId": "6877a6fd5c88f6dc9221942bf8e5e162",
              "parameters": [
                  {
                      "name": "coachId",
                      "in": "query",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "type",
                      "in": "query",
                      "required": false,
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "enum": [
                              "UNKNOWN",
                              "LEAD_AUTO_RECEIVE_OPEN",
                              "AUTO_BUY_GTE_3",
                              "AUTO_BUY_GTE_10",
                              "DAILY_OWNER_BUY"
                          ]
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-sms-package-account.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取短信包账户",
              "description": "",
              "operationId": "9540283557d45034ccac3584628a05ce",
              "parameters": [
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/SmsPackageAccountResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-lead-package-account.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取线索包账户",
              "description": "",
              "operationId": "16228977f93e0b53c0c9fb1a1bcbc9ed",
              "parameters": [
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/LeadPackageAccountResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-lead-package-order.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取线索包购买订单信息",
              "description": "",
              "operationId": "c64831f42fceae3637486372ac34cea5",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/LeadPackageEnablePayResp"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/update-coach-lead-config.htm": {
          "post": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "修改教练线索接收配置",
              "description": "",
              "operationId": "d2df306f73a28c605083ed96c582ae06",
              "parameters": [
                  {
                      "name": "coachId",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "dailyLimit",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/BooleanResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-city-open.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取教练线索接收配置",
              "description": "",
              "operationId": "0e5ee85edcb998554505df6181576790",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/online-apply.htm": {
          "post": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "在线申请",
              "description": "",
              "operationId": "93454e1833f6d8f6eebdf6a3215c0219",
              "parameters": [
                  {
                      "name": "id",
                      "in": "query",
                      "description": "id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "coachId",
                      "in": "query",
                      "description": "教练ID",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "priority",
                      "in": "query",
                      "description": "线索分配优先级",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "autoBuy",
                      "in": "query",
                      "description": "是否自动购买权益",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "driveLicenseLimitList",
                      "in": "query",
                      "description": "可用驾照类型",
                      "style": "form",
                      "schema": {}
                  },
                  {
                      "name": "clueCategoryList",
                      "in": "query",
                      "description": "接收线索种类;1：普通;10：招生宝;20：电话线索",
                      "style": "form",
                      "schema": {}
                  },
                  {
                      "name": "clueSourceReceiveCategoryList",
                      "in": "query",
                      "description": "线索来源接收种类 0：1VN;1：1V1",
                      "style": "form",
                      "schema": {}
                  },
                  {
                      "name": "allTargetInquiry",
                      "in": "query",
                      "description": "接收所有定向询价",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "allTargetInquiryCity",
                      "in": "query",
                      "description": "接收1v1定向询价城市，多个用,分隔",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "enableStartTime",
                      "in": "query",
                      "description": "生效开始时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "enableEndTime",
                      "in": "query",
                      "description": "生效结束时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "coachLeadLicenses",
                      "in": "query",
                      "description": "线索接收配置",
                      "style": "form",
                      "schema": {}
                  },
                  {
                      "name": "createUser",
                      "in": "query",
                      "description": "创建人",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "updateUser",
                      "in": "query",
                      "description": "修改人",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "createTime",
                      "in": "query",
                      "description": "创建时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  },
                  {
                      "name": "updateTime",
                      "in": "query",
                      "description": "修改时间",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "format": "date-time"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonArrayResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-self-config.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取自有配置",
              "description": "",
              "operationId": "9e63a2e28b3d19089492085fa24576a9",
              "parameters": [
                  {
                      "name": "orgRecruitLongitude",
                      "in": "query",
                      "description": "原招生地址经度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "orgRecruitLatitude",
                      "in": "query",
                      "description": "原招生地址纬度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "coachId",
                      "in": "query",
                      "description": "教练ID",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "driveLicenseLimit",
                      "in": "query",
                      "description": "驾照类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "createUser",
                      "in": "query",
                      "description": "创建人",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "updateUser",
                      "in": "query",
                      "description": "修改人",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "buyRange",
                      "in": "query",
                      "description": "购买距离",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "dailyClueLimit",
                      "in": "query",
                      "description": "每日接收上限",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "recruitLongitude",
                      "in": "query",
                      "description": "招生地址经度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "recruitLatitude",
                      "in": "query",
                      "description": "招生地址纬度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "balanceNotifySwitch",
                      "in": "query",
                      "description": "钱包余额不足提醒开关(默认true)  true-开 false-关",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/last-online-apply-status.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取最后一次申请状态",
              "description": "",
              "operationId": "ca8027bd9ee31d8969efb18aa047122b",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-sms-template.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取短信发送模板",
              "description": "",
              "operationId": "1794426adf2776ff4f6662b1d655ffbf",
              "parameters": [
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/HistorySmsTemplateResp"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-sms-send-detail.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取短信发送记录",
              "description": "",
              "operationId": "5ea1908bf1480f1f250a23428eb83e32",
              "parameters": [
                  {
                      "name": "cursor",
                      "in": "query",
                      "description": "分页游标",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "limit",
                      "in": "query",
                      "description": "每页查询数据量",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/LeadSmsSendDetailResp"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/send-sms.htm": {
          "post": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "短信发送",
              "description": "",
              "operationId": "6bd22a0872670f2d66fd2b79532b16e5",
              "parameters": [
                  {
                      "name": "smsCode",
                      "in": "query",
                      "description": "短信模板",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "smsTemplateParams",
                      "in": "query",
                      "description": "短信模板参数",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "boolean"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/update-self-config.htm": {
          "post": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "更新自配置",
              "description": "",
              "operationId": "4f194f4eea1d516149de5c2621e9cddd",
              "parameters": [
                  {
                      "name": "orgRecruitLongitude",
                      "in": "query",
                      "description": "原招生地址经度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "orgRecruitLatitude",
                      "in": "query",
                      "description": "原招生地址纬度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "coachId",
                      "in": "query",
                      "description": "教练ID",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "driveLicenseLimit",
                      "in": "query",
                      "description": "驾照类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "createUser",
                      "in": "query",
                      "description": "创建人",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "updateUser",
                      "in": "query",
                      "description": "修改人",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "buyRange",
                      "in": "query",
                      "description": "购买距离",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "dailyClueLimit",
                      "in": "query",
                      "description": "每日接收上限",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "recruitLongitude",
                      "in": "query",
                      "description": "招生地址经度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "recruitLatitude",
                      "in": "query",
                      "description": "招生地址纬度",
                      "style": "form",
                      "schema": {
                          "type": "number",
                          "format": "double"
                      }
                  },
                  {
                      "name": "balanceNotifySwitch",
                      "in": "query",
                      "description": "钱包余额不足提醒开关(默认true)  true-开 false-关",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonArrayResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-alert-notify.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取弹窗通知",
              "description": "",
              "operationId": "0bc29295d78b557a32b09c3206f01abe",
              "parameters": [
                  {
                      "name": "UNKNOWN",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "enum": [
                              "UNKNOWN",
                              "LEAD_MAIN",
                              "MALL_MAIN",
                              "MINE_ASK"
                          ]
                      }
                  },
                  {
                      "name": "LEAD_MAIN",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "enum": [
                              "UNKNOWN",
                              "LEAD_MAIN",
                              "MALL_MAIN",
                              "MINE_ASK"
                          ]
                      }
                  },
                  {
                      "name": "MALL_MAIN",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "enum": [
                              "UNKNOWN",
                              "LEAD_MAIN",
                              "MALL_MAIN",
                              "MINE_ASK"
                          ]
                      }
                  },
                  {
                      "name": "MINE_ASK",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "string",
                          "enum": [
                              "UNKNOWN",
                              "LEAD_MAIN",
                              "MALL_MAIN",
                              "MINE_ASK"
                          ]
                      }
                  },
                  {
                      "name": "desc",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "$VALUES",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {}
                  },
                  {
                      "name": "name",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "ordinal",
                      "in": "query",
                      "description": "",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/NotifyAlertTriggerResp"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-lead-receive-config.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取教练线索接收配置",
              "description": "",
              "operationId": "c0400cbe9193e1e6338060150f6e1b55",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/JsonResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/get-coach-main-flag.htm": {
          "get": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "获取教练首页判断参数",
              "description": "",
              "operationId": "b414dec052cdbe7219ef5d0edb5f65ff",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/CoachMainFlagDto"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach/remove-coach-main-flag.htm": {
          "post": {
              "tags": [
                  "教练相关接口"
              ],
              "summary": "删除教练首页判断参数缓存",
              "description": "",
              "operationId": "0ebef0088b20f7b0412fec1e15a3827a",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "boolean"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/get-coach-vip-score-return-rate.htm": {
          "get": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "查询教练会员金币返回倍数",
              "description": "",
              "operationId": "a3571c7b24b8bbd7b9af0513450581b7",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "integer",
                                          "format": "int32"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/check-pay-way.htm": {
          "get": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "获取优惠券可用的支付方式",
              "description": "",
              "operationId": "0b1902a677e3f8ce8bb7a71adf0dee65",
              "parameters": [
                  {
                      "name": "couponCode",
                      "in": "query",
                      "description": "优惠券code",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "usable",
                      "in": "query",
                      "description": "优惠券是否可用",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "paySubType",
                      "in": "query",
                      "description": "支付类型子类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "platform",
                      "in": "query",
                      "description": "使用平台",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string",
                                          "enum": [
                                              "UNKNOWN",
                                              "WEIXIN",
                                              "ALIPAY",
                                              "WALLET",
                                              "APPLE"
                                          ]
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/lead-package-pay.htm": {
          "post": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "线索包支付",
              "description": "",
              "operationId": "506d43d9ec46d908196652223d57f713",
              "parameters": [
                  {
                      "name": "leadPackageOrderNo",
                      "in": "query",
                      "description": "线索包订单号",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/LeadPackagePayResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/lead-order.htm": {
          "get": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "获取线索支付订单详情",
              "description": "",
              "operationId": "87f0ff66a167b80b823769c1acb6ed0c",
              "parameters": [
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/CoachLeadOrderResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/score-check-list.htm": {
          "get": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "获取金币选择列表",
              "description": "",
              "operationId": "e86ff7794b440e0e4d8072fc92964fc4",
              "parameters": [
                  {
                      "name": "couponCode",
                      "in": "query",
                      "description": "优惠券code",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "usable",
                      "in": "query",
                      "description": "优惠券是否可用",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "paySubType",
                      "in": "query",
                      "description": "支付类型子类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "platform",
                      "in": "query",
                      "description": "使用平台",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/ScoreCheckListResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/pay-create.htm": {
          "post": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "线索支付创建订单",
              "description": "",
              "operationId": "7ec0c5c929dce7e5c879abe8f73d62c3",
              "parameters": [
                  {
                      "name": "payType",
                      "in": "query",
                      "description": "支付方式",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "paySubType",
                      "in": "query",
                      "description": "alphard创建订单需要的支付子类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "couponInfo",
                      "in": "query",
                      "description": "优惠信息",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "password",
                      "in": "query",
                      "description": "钱包密码，钱包支付时使用",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "leadPayType",
                      "in": "query",
                      "description": "支付方式，1-金币支付2-用钱支付3-元宝支付",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "deviceId",
                      "in": "query",
                      "description": "设备id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/LeadOrderPayCreateResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/get-privilege-price.htm": {
          "get": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "获取优惠价格",
              "description": "",
              "operationId": "513cab6a683193a4e8739a34283abf14",
              "parameters": [
                  {
                      "name": "payType",
                      "in": "query",
                      "description": "支付方式",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "paySubType",
                      "in": "query",
                      "description": "alphard创建订单需要的支付子类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "couponInfo",
                      "in": "query",
                      "description": "优惠信息",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "password",
                      "in": "query",
                      "description": "钱包密码，钱包支付时使用",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "leadPayType",
                      "in": "query",
                      "description": "支付方式，1-金币支付2-用钱支付3-元宝支付",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "deviceId",
                      "in": "query",
                      "description": "设备id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/PrivilegePriceResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/list-usable-coupon.htm": {
          "get": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "获取可用优惠券列表",
              "description": "",
              "operationId": "d170045557ebfcc9ca606639b5c5f0eb",
              "parameters": [
                  {
                      "name": "usable",
                      "in": "query",
                      "description": "优惠券是否可用",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "paySubType",
                      "in": "query",
                      "description": "支付类型子类型",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "platform",
                      "in": "query",
                      "description": "使用平台",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/SdkUserCouponResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/promotion-exchange.htm": {
          "post": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "推广点兑换线索",
              "description": "",
              "operationId": "eb648629d814c54f5ab56a46fcc79ef0",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/PromotionExchangeResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/coach-lead-pay/enable-promotion-exchange.htm": {
          "get": {
              "tags": [
                  "教练线索购买"
              ],
              "summary": "能否使用推广点兑换线索",
              "description": "",
              "operationId": "2c9819ad0d10c3fa7ee71d3e3378d8e6",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/EnablePromotionExchangeResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/view.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取未购买线索信息",
              "description": "",
              "operationId": "ea8d31b14cd0f18b6176e67b6fe0bb72",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/LeadSaleViewResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/check-lead-appeal-by-coach.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 线索申诉校验",
              "description": "",
              "operationId": "9e0481356886e3840b78c6ad985f99f2",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号,多个逗号分割",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "appealReason",
                      "in": "query",
                      "description": "申诉原因",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "appealReasonType",
                      "in": "query",
                      "description": "申诉原因的类型枚举值",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "pic",
                      "in": "query",
                      "description": "图片url",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "source",
                      "in": "query",
                      "description": "来源 1paas 2crm",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "aliPayAccount",
                      "in": "query",
                      "description": "支付宝账户",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "aliPayName",
                      "in": "query",
                      "description": "支付宝姓名",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "verifyCode",
                      "in": "query",
                      "description": "验证码",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/AppealCheckDTO"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/submit-lead-appeal-by-coach.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 提交线索申诉",
              "description": "",
              "operationId": "bb1115a8fa81fa23c45e7105dd1ad5c2",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号,多个逗号分割",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "appealReason",
                      "in": "query",
                      "description": "申诉原因",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "appealReasonType",
                      "in": "query",
                      "description": "申诉原因的类型枚举值",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "pic",
                      "in": "query",
                      "description": "图片url",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "source",
                      "in": "query",
                      "description": "来源 1paas 2crm",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "aliPayAccount",
                      "in": "query",
                      "description": "支付宝账户",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "aliPayName",
                      "in": "query",
                      "description": "支付宝姓名",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "verifyCode",
                      "in": "query",
                      "description": "验证码",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/BooleanResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/is-apple-pay.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "线索是否apple支付",
              "description": "",
              "operationId": "670c25ab726818d8a89342ab507099dc",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "boolean"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/is-enable-appeal.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 是否开启线索申诉功能",
              "description": "",
              "operationId": "25c9e2b9e4c82858aa35cb090425925f",
              "parameters": [
                  {
                      "name": "coachId",
                      "in": "query",
                      "description": "教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "cityCode",
                      "in": "query",
                      "description": "城市code",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/BooleanResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-recruit-site.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取教练设置的报名点信息",
              "description": "",
              "operationId": "34a12ebece04ebb8bca24e3bedab89b5",
              "parameters": [
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/AppealAuditRecordResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-appeal-type.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取教练申诉类型",
              "description": "",
              "operationId": "8c9024522144bbbebc92d435d988c89d",
              "parameters": [
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/StringResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-auto-buy-service-wx.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取自动购买线索申请客服微信号",
              "description": "",
              "operationId": "bc0bcc522e215f5120129e5abb48532b",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/StringResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/show-app-open-tip.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "是否提示用户开通电话线索免密支付弹窗",
              "description": "",
              "operationId": "0b2ac530aa87098365559b45db61f672",
              "parameters": [
                  {
                      "name": "deviceId",
                      "in": "query",
                      "description": "设备id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "boolean"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-coach-lead-appeal-list.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 我的询价，申诉线索",
              "description": "",
              "operationId": "ef7b87b56a8176a983f9b694c7dc5dfe",
              "parameters": [
                  {
                      "name": "inquiryChannel",
                      "in": "query",
                      "description": "线索类型，1-留资线索2-电话线索",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "nameOrPhone",
                      "in": "query",
                      "description": "姓名或手机号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "cursor",
                      "in": "query",
                      "description": "分页游标",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "limit",
                      "in": "query",
                      "description": "每页查询数据量",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "status",
                      "in": "query",
                      "description": "线索列表状态，0-全部1-未联系2-未标记3-今日待跟进4-到期未跟进5-计划待跟进",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/CoachLeadListResponse"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-coach-lead-appeal-notify-string.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 获取线索申诉通知的配置",
              "description": "",
              "operationId": "3d62b2a70fe3d099ac924e8185768d5b",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/AppealReasonTypeDTO"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-appeal-condition.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 线索申诉说明",
              "description": "",
              "operationId": "6e8975643ac1a07df474d4cd1b045e08",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/AppealConditionDTO"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/appeal-audit-reject-record.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 教练查询当前leadNo的所有提交申诉的记录中,被拒绝的记录",
              "description": "",
              "operationId": "1cc9d0cdb79e03fb5a751de923a8d2f8",
              "parameters": [
                  {
                      "name": "batchNo",
                      "in": "query",
                      "description": "批次号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/AppealAuditRecordResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/notify-balance-not-enough.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "是否教练提醒余额不足",
              "description": "",
              "operationId": "dc2e1dc20c1e4e950561b8a6f94fa741",
              "parameters": [
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/NotifyCoachBalanceNotEnoughResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-paid-lead-no.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "根据未购买线索号获取相同手机号的已购买线索号",
              "description": "",
              "operationId": "630cb6c1e163e27be6aed78052e67902",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-coach-lead-price.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取教练购买线索价格",
              "description": "",
              "operationId": "0d915224dcca33ccec0d2d854c06418d",
              "parameters": [
                  {
                      "name": "deviceId",
                      "in": "query",
                      "description": "设备id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/CoachLeadPriceResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/send-verify-code.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取短信验证码",
              "description": "",
              "operationId": "30cacb54e2d3f1adac1c644915a81668",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "boolean"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-use-score-limit.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "购买线索能够使用金币最低金额限制",
              "description": "",
              "operationId": "e907f7f4646d6f4bc8035234b86d6736",
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/IntegerResult"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-appeal-detail-desc.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取申诉类型说明",
              "description": "",
              "operationId": "64c3a06054424c49ace4bca1b0b39d7c",
              "parameters": [
                  {
                      "name": "appealType",
                      "in": "query",
                      "required": true,
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  }
              ],
              "responses": {
                  "default": {
                      "description": "200",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/AppealDetailDescResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/list-by-city-main.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "主页未登录用户根据城市询价线索列表",
              "description": "",
              "operationId": "1243cac6f72053e05e48c9a8f035cbcb",
              "parameters": [
                  {
                      "name": "cityCode",
                      "in": "query",
                      "description": "当前城市",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/CoachLeadByCityResponse"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/list-by-coach-main.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "主页售卖线索列表",
              "description": "",
              "operationId": "b81f324cd37638d6f651bdc0a1a5337b",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/LeadSaleListResponse"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/clear-invalid.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "清除无效线索",
              "description": "",
              "operationId": "c51ca8eeda12b19b94989d43c9e10323",
              "parameters": [
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "boolean"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/pay-success.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "判断线索是否支付成功",
              "description": "",
              "operationId": "4deae205991f1ccfae71420e7a38cf40",
              "parameters": [
                  {
                      "name": "leadNo",
                      "in": "query",
                      "description": "线索编号",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "crmLeadId",
                      "in": "query",
                      "description": "CRM的线索id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/LeadPaySuccessResp"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/cancel-pay-order.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "取消支付订单",
              "description": "",
              "operationId": "17e5b126d1a131a6b054a637efc8ae76",
              "parameters": [
                  {
                      "name": "orderNumber",
                      "in": "query",
                      "description": "线索支付订单",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "boolean"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-lead-notice.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "获取教练线索公告",
              "description": "",
              "operationId": "44fb7998d9d102238c20fae5ba2c1fa0",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "type": "string"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/get-appeal-reason-type.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "V1.3 获取线索申诉类型配置",
              "description": "",
              "operationId": "c0570519b42bd2fc5514a84b65084c21",
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "$ref": "#/components/schemas/AppealReasonTypeDTO"
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/list-by-coach.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "售卖线索列表",
              "description": "",
              "operationId": "e4a88a3b38ada7baf2791e528668f5f5",
              "parameters": [
                  {
                      "name": "oneLevelTab",
                      "in": "query",
                      "description": "一级tab，0-全部线索1-折扣线索",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "twoLevelTab",
                      "in": "query",
                      "description": "二级tab，0-最新咨询1-理我最近2-咨询我的",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "iosClient",
                      "in": "query",
                      "description": "是否是iOS客户端",
                      "style": "form",
                      "schema": {
                          "type": "boolean"
                      }
                  },
                  {
                      "name": "cursor",
                      "in": "query",
                      "description": "分页游标",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "limit",
                      "in": "query",
                      "description": "每页查询数据量",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "deviceId",
                      "in": "query",
                      "description": "设备id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "distance",
                      "in": "query",
                      "description": "距离，单位米",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int32"
                      }
                  },
                  {
                      "name": "driveLicenseType",
                      "in": "query",
                      "description": "驾照类型，多个用,分隔",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  },
                  {
                      "name": "targetId",
                      "in": "query",
                      "description": "商户id：驾校或教练id",
                      "style": "form",
                      "schema": {
                          "type": "integer",
                          "format": "int64"
                      }
                  },
                  {
                      "name": "userId",
                      "in": "query",
                      "description": "用户id",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/LeadSaleListResponse"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      },
      "/api/open/v4/auth/lead/list-by-city.htm": {
          "get": {
              "tags": [
                  "线索相关接口"
              ],
              "summary": "根据城市返回给未登录用户询价线索列表，默认8条数据",
              "description": "",
              "operationId": "57a23df48cf19cb920cbcb8c218e395a",
              "parameters": [
                  {
                      "name": "cityCode",
                      "in": "query",
                      "description": "当前城市",
                      "style": "form",
                      "schema": {
                          "type": "string"
                      }
                  }
              ],
              "responses": {
                  "200": {
                      "description": "",
                      "content": {
                          "application/json": {
                              "schema": {
                                  "properties": {
                                      "success": {
                                          "type": "boolean",
                                          "description": "接口是否调用成功"
                                      },
                                      "errorCode": {
                                          "type": "integer",
                                          "description": "错误码",
                                          "format": "int32"
                                      },
                                      "data": {
                                          "properties": {
                                              "itemList": {
                                                  "type": "array",
                                                  "items": {
                                                      "$ref": "#/components/schemas/CoachLeadByCityResponse"
                                                  }
                                              }
                                          }
                                      }
                                  }
                              }
                          }
                      }
                  }
              }
          }
      }
  },
  "components": {
      "schemas": {
          "SystemConfigEntity": {
              "type": "object",
              "properties": {
                  "id": {
                      "type": "integer",
                      "format": "int64"
                  },
                  "region": {
                      "type": "string"
                  },
                  "configName": {
                      "type": "string"
                  },
                  "configKey": {
                      "type": "string"
                  },
                  "configValue": {
                      "type": "string"
                  },
                  "otherData": {
                      "type": "string"
                  },
                  "description": {
                      "type": "string"
                  },
                  "createTime": {
                      "type": "string",
                      "format": "date-time"
                  },
                  "updateTime": {
                      "type": "string",
                      "format": "date-time"
                  }
              }
          },
          "JsonResult": {
              "type": "object",
              "properties": {
                  "success": {
                      "type": "boolean"
                  },
                  "errorCode": {
                      "type": "integer",
                      "format": "int32"
                  },
                  "message": {
                      "type": "string"
                  },
                  "data": {
                      "type": "object"
                  }
              }
          },
          "LeadStatResp": {
              "type": "object",
              "properties": {
                  "paidCount": {
                      "type": "integer",
                      "description": "线索购买数",
                      "format": "int64"
                  },
                  "refundCount": {
                      "type": "integer",
                      "description": "线索退款数",
                      "format": "int64"
                  }
              }
          },
          "DataObject": {
              "type": "object",
              "properties": {
                  "itemList": {
                      "type": "array",
                      "items": {
                          "type": "object"
                      }
                  }
              }
          },
          "JsonArrayResult": {
              "type": "object",
              "properties": {
                  "success": {
                      "type": "boolean"
                  },
                  "errorCode": {
                      "type": "integer",
                      "format": "int32"
                  },
                  "message": {
                      "type": "string"
                  },
                  "data": {
                      "$ref": "#/components/schemas/DataObject"
                  }
              }
          },
          "SmsPackageAccountResp": {
              "type": "object",
              "properties": {
                  "targetType": {
                      "type": "integer",
                      "description": "商家类型",
                      "format": "int32"
                  },
                  "targetId": {
                      "type": "integer",
                      "description": "商家ID",
                      "format": "int64"
                  },
                  "totalRemain": {
                      "type": "integer",
                      "description": "剩余的总短信数量",
                      "format": "int32"
                  },
                  "freeRemain": {
                      "type": "integer",
                      "description": "剩余赠送的短信数量",
                      "format": "int32"
                  },
                  "payRemain": {
                      "type": "integer",
                      "description": "剩余支付的短信数量",
                      "format": "int32"
                  },
                  "costTotal": {
                      "type": "integer",
                      "description": "已使用短信总量",
                      "format": "int32"
                  },
                  "costFree": {
                      "type": "integer",
                      "description": "已使用赠送短信总量",
                      "format": "int32"
                  },
                  "costPay": {
                      "type": "integer",
                      "description": "已使用支付短信总量",
                      "format": "int32"
                  },
                  "allTotal": {
                      "type": "integer",
                      "description": "短信总量",
                      "format": "int32"
                  },
                  "payTotal": {
                      "type": "integer",
                      "description": "支付短信总量",
                      "format": "int32"
                  },
                  "freeTotal": {
                      "type": "integer",
                      "description": "赠送的短信总量",
                      "format": "int32"
                  },
                  "paidTotalCent": {
                      "type": "integer",
                      "description": "支付的总金额，单位分",
                      "format": "int32"
                  },
                  "createTime": {
                      "type": "string",
                      "description": "创建时间",
                      "format": "date-time"
                  },
                  "updateTime": {
                      "type": "string",
                      "description": "修改时间",
                      "format": "date-time"
                  },
                  "targetName": {
                      "type": "string",
                      "description": "商家名称"
                  },
                  "cityCode": {
                      "type": "string",
                      "description": "城市code"
                  },
                  "cityName": {
                      "type": "string",
                      "description": "城市名称"
                  },
                  "haveAccount": {
                      "type": "boolean",
                      "description": "是否有短信包账户"
                  }
              }
          },
          "LeadPackageAccountResp": {
              "type": "object",
              "properties": {
                  "targetType": {
                      "type": "integer",
                      "description": "商家类型",
                      "format": "int32"
                  },
                  "targetId": {
                      "type": "integer",
                      "description": "商家ID",
                      "format": "int64"
                  },
                  "totalRemain": {
                      "type": "integer",
                      "description": "剩余的线索包数量",
                      "format": "int32"
                  },
                  "payRemain": {
                      "type": "integer",
                      "description": "剩余的线索包购买数量",
                      "format": "int32"
                  },
                  "freeRemain": {
                      "type": "integer",
                      "description": "剩余的线索包赠送数量",
                      "format": "int32"
                  },
                  "haveAccount": {
                      "type": "boolean",
                      "description": "是否有线索包账户"
                  },
                  "leadPackagePay": {
                      "type": "boolean",
                      "description": "是否默认使用线索包购买线索"
                  }
              }
          },
          "LeadPackageEnablePayResp": {
              "type": "object",
              "properties": {
                  "enableUse": {
                      "type": "boolean"
                  },
                  "skuDesc": {
                      "type": "array",
                      "items": {
                          "type": "string"
                      }
                  },
                  "orderNo": {
                      "type": "string"
                  },
                  "skuName": {
                      "type": "string"
                  },
                  "enableLicense": {
                      "type": "array",
                      "items": {
                          "type": "string"
                      }
                  },
                  "enableArea": {
                      "type": "array",
                      "items": {
                          "type": "string"
                      }
                  },
                  "totalCount": {
                      "type": "integer",
                      "format": "int32"
                  },
                  "useCount": {
                      "type": "integer",
                      "format": "int32"
                  },
                  "remainCount": {
                      "type": "integer",
                      "format": "int32"
                  },
                  "beginTime": {
                      "type": "string",
                      "format": "date-time"
                  },
                  "endTime": {
                      "type": "string",
                      "format": "date-time"
                  }
              }
          },
          "BooleanResult": {
              "type": "object",
              "properties": {
                  "value": {
                      "type": "boolean",
                      "description": "true/false"
                  }
              }
          },
          "HistorySmsTemplateResp": {
              "type": "object",
              "properties": {
                  "code": {
                      "type": "string",
                      "description": "短信模板code"
                  },
                  "name": {
                      "type": "string",
                      "description": "短信模板名称"
                  },
                  "content": {
                      "type": "string",
                      "description": "短信模板内容"
                  },
                  "smsTempParams": {
                      "type": "string",
                      "description": "短信模板设置参数"
                  },
                  "historySmsTempParams": {
                      "type": "string",
                      "description": "历史短信模板设置参数"
                  }
              }
          },
          "LeadSmsSendDetailResp": {
              "type": "object",
              "properties": {
                  "id": {
                      "type": "integer",
                      "description": "主键id",
                      "format": "int64"
                  },
                  "targetType": {
                      "type": "integer",
                      "description": "商家类型",
                      "format": "int32"
                  },
                  "targetId": {
                      "type": "integer",
                      "description": "商家ID",
                      "format": "int64"
                  },
                  "bizType": {
                      "type": "integer",
                      "description": "业务类型",
                      "format": "int32"
                  },
                  "bizId": {
                      "type": "integer",
                      "description": "业务id",
                      "format": "int64"
                  },
                  "smsPackageDetailId": {
                      "type": "integer",
                      "description": "驾校短信包记录id",
                      "format": "int64"
                  },
                  "type": {
                      "type": "integer",
                      "description": "短信发送方式1-主动2-自动",
                      "format": "int32"
                  },
                  "typeDesc": {
                      "type": "string",
                      "description": "发送方式"
                  },
                  "smsCode": {
                      "type": "string",
                      "description": "短信模板code"
                  },
                  "success": {
                      "type": "boolean",
                      "description": "短信是否发送成功"
                  },
                  "sendTime": {
                      "type": "string",
                      "description": "短信发送时间",
                      "format": "date-time"
                  },
                  "createUserId": {
                      "type": "string",
                      "description": "创建人ID"
                  },
                  "createUserName": {
                      "type": "string",
                      "description": "创建人"
                  },
                  "toPhoneFeature": {
                      "type": "string",
                      "description": "手机号特征值"
                  },
                  "toPhoneMask": {
                      "type": "string",
                      "description": "手机号掩码"
                  },
                  "smsName": {
                      "type": "string",
                      "description": "发送短信模板名称"
                  },
                  "extJson": {
                      "type": "string",
                      "description": "业务扩展json字段"
                  },
                  "sendContent": {
                      "type": "string",
                      "description": "短信发送内容"
                  }
              }
          },
          "NotifyAlertTriggerResp": {
              "type": "object",
              "properties": {
                  "id": {
                      "type": "integer",
                      "description": "模板类型",
                      "format": "int64"
                  },
                  "templateJson": {
                      "type": "string",
                      "description": "模板内容"
                  },
                  "weights": {
                      "type": "integer",
                      "description": "权重",
                      "format": "int32"
                  }
              }
          },
          "CoachMainFlagDto": {
              "type": "object",
              "properties": {
                  "hasBaoming": {
                      "type": "boolean",
                      "description": "是否有报名点"
                  },
                  "inquiryRange": {
                      "type": "integer",
                      "description": "线索接收范围（km）",
                      "format": "int32"
                  },
                  "autoBuySettingShow": {
                      "type": "boolean",
                      "description": "是否展示开通自动购买提示框 true-展示  false-不展示"
                  }
              }
          },
          "LeadPackagePayResp": {
              "type": "object",
              "properties": {
                  "success": {
                      "type": "boolean",
                      "description": "订单是否创建成功标识"
                  },
                  "message": {
                      "type": "string",
                      "description": "订单创建信息"
                  },
                  "leadNo": {
                      "type": "string",
                      "description": "线索编号"
                  },
                  "originVal": {
                      "type": "number",
                      "description": "优惠前价格"
                  },
                  "privilegeVal": {
                      "type": "number",
                      "description": "优惠价格"
                  },
                  "realPayVal": {
                      "type": "number",
                      "description": "真实支付价格"
                  },
                  "accountName": {
                      "type": "string",
                      "description": "账户SDK名字"
                  },
                  "accountSource": {
                      "type": "string",
                      "description": "获取账户SDK的source"
                  },
                  "orderNumber": {
                      "type": "string",
                      "description": "支付订单号(accountSubSource)"
                  },
                  "leadPaidType": {
                      "type": "integer",
                      "description": "支付方式，1-金币2-人民币3-元宝",
                      "format": "int32"
                  },
                  "msgType": {
                      "type": "integer",
                      "description": "错误的消息类型",
                      "format": "int32"
                  }
              }
          },
          "CoachLeadOrderResp": {
              "type": "object",
              "properties": {
                  "leadNo": {
                      "type": "string",
                      "description": "线索编号"
                  },
                  "leadDisplayType": {
                      "type": "integer",
                      "description": "线索显示来源类型",
                      "format": "int32"
                  },
                  "leadDisplayTypeDesc": {
                      "type": "string",
                      "description": "线索显示来源类型描述"
                  },
                  "inquiryTime": {
                      "type": "string",
                      "description": "询价时间",
                      "format": "date-time"
                  },
                  "userId": {
                      "type": "string",
                      "description": "线索用户木仓ID"
                  },
                  "userName": {
                      "type": "string",
                      "description": "提交线索用户名称"
                  },
                  "userAreaCode": {
                      "type": "string",
                      "description": "地域编码"
                  },
                  "userAddress": {
                      "type": "string",
                      "description": "用户上车地址"
                  },
                  "longitude": {
                      "type": "number",
                      "description": "经度"
                  },
                  "latitude": {
                      "type": "number",
                      "description": "纬度"
                  },
                  "driveLicenseType": {
                      "type": "string",
                      "description": "驾照类型"
                  },
                  "distance": {
                      "type": "integer",
                      "description": "线索距离，单位米",
                      "format": "int32"
                  },
                  "distanceTarget": {
                      "type": "string",
                      "description": "最近报名点"
                  },
                  "leadLabel": {
                      "type": "string",
                      "description": "线索标签"
                  },
                  "targetMode": {
                      "type": "integer",
                      "description": "线索来源，1-平台分配2-学员直投3-独享询价",
                      "format": "int32"
                  },
                  "phoneMask": {
                      "type": "string",
                      "description": "手机号掩码"
                  },
                  "targetType": {
                      "type": "integer",
                      "description": "询价商家类型",
                      "format": "int32"
                  },
                  "targetId": {
                      "type": "integer",
                      "description": "询价商家id",
                      "format": "int64"
                  },
                  "vip": {
                      "type": "boolean",
                      "description": "是否是教练教练会员"
                  },
                  "vipPrivilege": {
                      "type": "number",
                      "description": "会员优惠金额"
                  },
                  "originPrice": {
                      "type": "number",
                      "description": "原始价格"
                  },
                  "price": {
                      "type": "number",
                      "description": "付钱的价格"
                  },
                  "showVipPrivilege": {
                      "type": "boolean",
                      "description": "是否展示会员优惠金额"
                  }
              }
          },
          "ScoreCheckListResp": {
              "type": "object",
              "properties": {
                  "score": {
                      "type": "integer",
                      "description": "金币",
                      "format": "int32"
                  },
                  "deductMoney": {
                      "type": "number",
                      "description": "抵扣金额"
                  }
              }
          },
          "LeadOrderPayCreateResp": {
              "type": "object",
              "properties": {
                  "success": {
                      "type": "boolean",
                      "description": "订单是否创建成功标识"
                  },
                  "message": {
                      "type": "string",
                      "description": "订单创建信息"
                  },
                  "leadNo": {
                      "type": "string",
                      "description": "线索编号"
                  },
                  "originVal": {
                      "type": "number",
                      "description": "优惠前价格"
                  },
                  "privilegeVal": {
                      "type": "number",
                      "description": "优惠价格"
                  },
                  "realPayVal": {
                      "type": "number",
                      "description": "真实支付价格"
                  },
                  "accountName": {
                      "type": "string",
                      "description": "账户SDK名字"
                  },
                  "accountSource": {
                      "type": "string",
                      "description": "获取账户SDK的source"
                  },
                  "orderNumber": {
                      "type": "string",
                      "description": "支付订单号(accountSubSource)"
                  },
                  "leadPaidType": {
                      "type": "integer",
                      "description": "支付方式，1-金币2-人民币3-元宝",
                      "format": "int32"
                  },
                  "msgType": {
                      "type": "integer",
                      "description": "错误的消息类型",
                      "format": "int32"
                  },
                  "vip": {
                      "type": "boolean",
                      "description": "是否是会员"
                  },
                  "orderResp": {
                      "$ref": "#/components/schemas/OrderResp"
                  },
                  "accountReturnAmount": {
                      "type": "number",
                      "description": "钱包返还金额，单位元"
                  },
                  "scoreReturnCount": {
                      "type": "integer",
                      "description": "金币返还个数",
                      "format": "int32"
                  },
                  "scoreReturnAmount": {
                      "type": "number",
                      "description": "金币返还对应金额，单位元"
                  }
              }
          },
          "OrderResp": {
              "type": "object",
              "properties": {
                  "tradeNo": {
                      "type": "string",
                      "description": "统一账户中心记录的交易流水号"
                  },
                  "orderNumber": {
                      "type": "string",
                      "description": "木仓支付系统的支付单号,前端在唤起支付"
                  },
                  "content": {
                      "type": "string",
                      "description": "木仓支付系统的订单号与之匹配的内容，客户端根据该内容统一处理（客户端有统一处理框架）"
                  },
                  "serialNo": {
                      "type": "string",
                      "description": "serialNo:连接第三方支付平台的唯一纽带号，退款和转账时需要业务自己存储"
                  },
                  "code": {
                      "type": "integer",
                      "description": "统一账户中心返回给业务系统的业务code码",
                      "format": "int32"
                  },
                  "msg": {
                      "type": "string",
                      "description": "统一账户中心返回给业务系统的业务消息"
                  },
                  "orderNo": {
                      "type": "string"
                  }
              },
              "description": "订单返回结果"
          },
          "CouponInfo": {
              "type": "object",
              "properties": {
                  "promotionTypeEnum": {
                      "type": "string",
                      "description": "优惠类型",
                      "enum": [
                          "UNKNOWN",
                          "SCORE",
                          "ACCOUNT_GIFT",
                          "SCORE_RETURN",
                          "COUPON",
                          "FIRST_ORDER",
                          "VIP",
                          "UPGRADE_DEDUCT"
                      ]
                  },
                  "discountAmount": {
                      "type": "number",
                      "description": "优惠金额，转为人民币，单位元"
                  },
                  "num": {
                      "type": "integer",
                      "description": "数量",
                      "format": "int32"
                  },
                  "couponCode": {
                      "type": "string",
                      "description": "优惠券code"
                  }
              }
          },
          "PrivilegePriceResp": {
              "type": "object",
              "properties": {
                  "originVal": {
                      "type": "number",
                      "description": "优惠前价格"
                  },
                  "privilegeVal": {
                      "type": "number",
                      "description": "优惠价格"
                  },
                  "realPayVal": {
                      "type": "number",
                      "description": "真实支付价格"
                  },
                  "discountList": {
                      "type": "array",
                      "description": "优惠明细",
                      "items": {
                          "$ref": "#/components/schemas/CouponInfo"
                      }
                  }
              }
          },
          "SdkUserCouponResp": {
              "type": "object",
              "properties": {
                  "couponId": {
                      "type": "integer",
                      "description": "优惠券id",
                      "format": "int64"
                  },
                  "vendorCode": {
                      "type": "string",
                      "description": "业务方标识"
                  },
                  "code": {
                      "type": "string",
                      "description": "券码"
                  },
                  "name": {
                      "type": "string",
                      "description": "名称"
                  },
                  "displayMsg": {
                      "type": "string",
                      "description": "优惠说明（用户可见）"
                  },
                  "type": {
                      "type": "string",
                      "description": "优惠券类型",
                      "enum": [
                          "UNKNOWN",
                          "FULL_DISCOUNT",
                          "FULL_DEDUCT"
                      ]
                  },
                  "status": {
                      "type": "string",
                      "description": "优惠券状态",
                      "enum": [
                          "UNKNOWN",
                          "DRAFT",
                          "ON_AUDIT",
                          "ONLINE",
                          "OFFLINE",
                          "CANCEL"
                      ]
                  },
                  "suitGoods": {
                      "type": "string",
                      "description": "适用商品",
                      "enum": [
                          "UNKNOWN",
                          "ALL",
                          "GOODS",
                          "GOODS_TYPE"
                      ]
                  },
                  "pickupCondition": {
                      "type": "string",
                      "description": "领取条件",
                      "enum": [
                          "UNKNOWN",
                          "FREE",
                          "SCORE",
                          "PAY"
                      ]
                  },
                  "useCondition": {
                      "type": "string",
                      "description": "使用条件",
                      "enum": [
                          "UNKNOWN",
                          "ORDER_MONEY",
                          "ORDER_AMOUNT"
                      ]
                  },
                  "useConditionValue": {
                      "type": "number",
                      "description": "使用条件限制值"
                  },
                  "discountValue": {
                      "type": "number",
                      "description": "优惠值"
                  },
                  "maxDisplay": {
                      "type": "number",
                      "description": "最大优惠"
                  },
                  "pickupConditionValue": {
                      "type": "number",
                      "description": "领取条件值"
                  },
                  "payLimit": {
                      "type": "array",
                      "description": "支付限制",
                      "items": {
                          "type": "string",
                          "enum": [
                              "UNKNOWN",
                              "WEIXIN",
                              "ALIPAY",
                              "WALLET",
                              "APPLE"
                          ]
                      }
                  },
                  "activeTimeType": {
                      "type": "string",
                      "description": "生效时间类型",
                      "enum": [
                          "UNKNOWN",
                          "ABSOLUTE_TIME",
                          "RELATIVE_TIME"
                      ]
                  },
                  "activeDays": {
                      "type": "integer",
                      "description": "领取后多少天有效，若是有效天数，此字段必填",
                      "format": "int32"
                  },
                  "activeStartTime": {
                      "type": "string",
                      "description": "生效时间， 若是固定时间，此字段必填",
                      "format": "date-time"
                  },
                  "activeEndTime": {
                      "type": "string",
                      "description": "失效时间， 若是固定时间，此字段必填",
                      "format": "date-time"
                  },
                  "pushTotal": {
                      "type": "integer",
                      "description": "发行总量，-1表示不限制",
                      "format": "int32"
                  },
                  "userPickupLimit": {
                      "type": "integer",
                      "description": "用户领取数量限制，-1表示不限制",
                      "format": "int32"
                  },
                  "dailyPickupLimit": {
                      "type": "integer",
                      "description": "单日领取上限，-1表示不限制",
                      "format": "int32"
                  },
                  "suitGroup": {
                      "type": "string",
                      "description": "适用群体",
                      "enum": [
                          "UNKNOWN",
                          "ALL",
                          "COACH_VIP"
                      ]
                  },
                  "combinablePlatform": {
                      "type": "boolean",
                      "description": "与平台叠加"
                  },
                  "combinableTarget": {
                      "type": "boolean",
                      "description": "与商家叠加"
                  },
                  "suitPlatform": {
                      "type": "array",
                      "description": "适用平台",
                      "items": {
                          "type": "string",
                          "enum": [
                              "UNKNOWN",
                              "ANDROID",
                              "IOS",
                              "H5",
                              "WECHAT",
                              "ACTIVITY"
                          ]
                      }
                  },
                  "linkUrl": {
                      "type": "string",
                      "description": "跳转连接"
                  },
                  "refundable": {
                      "type": "boolean",
                      "description": "是否可退"
                  },
                  "giveable": {
                      "type": "boolean",
                      "description": "是否可赠送"
                  },
                  "shareable": {
                      "type": "boolean",
                      "description": "是否可分享"
                  },
                  "display": {
                      "type": "boolean",
                      "description": "是否可显示"
                  },
                  "userCouponId": {
                      "type": "integer",
                      "description": "用户优惠券id",
                      "format": "int64"
                  },
                  "userCouponCode": {
                      "type": "string",
                      "description": "用户优惠券编号"
                  },
                  "userCouponStatus": {
                      "type": "string",
                      "description": "用户优惠券状态",
                      "enum": [
                          "UNKNOWN",
                          "UNUSED",
                          "USED",
                          "INVALID"
                      ]
                  },
                  "userCouponActiveStartTime": {
                      "type": "string",
                      "description": "用户优惠券生效时间",
                      "format": "date-time"
                  },
                  "userCouponActiveEndTime": {
                      "type": "string",
                      "description": "用户优惠券失效时间",
                      "format": "date-time"
                  },
                  "pickupWay": {
                      "type": "string",
                      "description": "领取方式",
                      "enum": [
                          "UNKNOWN",
                          "USER_PICKUP",
                          "PLATFORM_SEND",
                          "USER_SEND",
                          "COACH_VIP_SEND"
                      ]
                  },
                  "pickupReason": {
                      "type": "string",
                      "description": "领取原因"
                  },
                  "pickUserId": {
                      "type": "string",
                      "description": "领取人id"
                  },
                  "pickUserName": {
                      "type": "string",
                      "description": "领取人姓名"
                  },
                  "pickupTime": {
                      "type": "string",
                      "description": "领取时间",
                      "format": "date-time"
                  },
                  "cancelTime": {
                      "type": "string",
                      "description": "作废时间",
                      "format": "date-time"
                  },
                  "discountAmount": {
                      "type": "number",
                      "description": "优惠金额"
                  }
              }
          },
          "PromotionExchangeResp": {
              "type": "object",
              "properties": {
                  "success": {
                      "type": "boolean",
                      "description": "订单是否创建成功标识"
                  },
                  "message": {
                      "type": "string",
                      "description": "订单创建信息"
                  },
                  "leadNo": {
                      "type": "string",
                      "description": "线索编号"
                  },
                  "originVal": {
                      "type": "number",
                      "description": "优惠前价格"
                  },
                  "privilegeVal": {
                      "type": "number",
                      "description": "优惠价格"
                  },
                  "realPayVal": {
                      "type": "number",
                      "description": "真实支付价格"
                  },
                  "accountName": {
                      "type": "string",
                      "description": "账户SDK名字"
                  },
                  "accountSource": {
                      "type": "string",
                      "description": "获取账户SDK的source"
                  },
                  "orderNumber": {
                      "type": "string",
                      "description": "支付订单号(accountSubSource)"
                  },
                  "leadPaidType": {
                      "type": "integer",
                      "description": "支付方式，1-金币2-人民币3-元宝",
                      "format": "int32"
                  },
                  "msgType": {
                      "type": "integer",
                      "description": "错误的消息类型",
                      "format": "int32"
                  }
              }
          },
          "EnablePromotionExchangeResp": {
              "type": "object",
              "properties": {
                  "remainNum": {
                      "type": "integer",
                      "description": "剩余推广点数",
                      "format": "int64"
                  },
                  "useNum": {
                      "type": "integer",
                      "description": "需要使用的推广点数",
                      "format": "int32"
                  },
                  "enableUse": {
                      "type": "boolean",
                      "description": "使用可以兑换"
                  }
              }
          },
          "LeadSaleViewResp": {
              "type": "object",
              "properties": {
                  "leadNo": {
                      "type": "string",
                      "description": "线索编号"
                  },
                  "leadDisplayType": {
                      "type": "integer",
                      "description": "线索显示来源类型",
                      "format": "int32"
                  },
                  "leadDisplayTypeDesc": {
                      "type": "string",
                      "description": "线索显示来源类型描述"
                  },
                  "inquiryTime": {
                      "type": "string",
                      "description": "询价时间",
                      "format": "date-time"
                  },
                  "userId": {
                      "type": "string",
                      "description": "线索用户木仓ID"
                  },
                  "userName": {
                      "type": "string",
                      "description": "提交线索用户名称"
                  },
                  "userAreaCode": {
                      "type": "string",
                      "description": "地域编码"
                  },
                  "userAddress": {
                      "type": "string",
                      "description": "用户上车地址"
                  },
                  "longitude": {
                      "type": "number",
                      "description": "经度"
                  },
                  "latitude": {
                      "type": "number",
                      "description": "纬度"
                  },
                  "driveLicenseType": {
                      "type": "string",
                      "description": "驾照类型"
                  },
                  "distance": {
                      "type": "integer",
                      "description": "线索距离，单位米",
                      "format": "int32"
                  },
                  "distanceTarget": {
                      "type": "string",
                      "description": "最近报名点"
                  },
                  "leadLabel": {
                      "type": "string",
                      "description": "线索标签"
                  },
                  "targetMode": {
                      "type": "integer",
                      "description": "线索来源，1-平台分配2-学员直投3-独享询价",
                      "format": "int32"
                  },
                  "phoneMask": {
                      "type": "string",
                      "description": "手机号掩码"
                  },
                  "targetType": {
                      "type": "integer",
                      "description": "询价商家类型",
                      "format": "int32"
                  },
                  "targetId": {
                      "type": "integer",
                      "description": "询价商家id",
                      "format": "int64"
                  }
              }
          },
          "AppealCheckDTO": {
              "type": "object",
              "properties": {
                  "nonLookPhone": {
                      "type": "boolean",
                      "description": "未查看号码"
                  },
                  "contactedUser": {
                      "type": "boolean",
                      "description": "已联系过学员"
                  },
                  "validPeriod": {
                      "type": "boolean",
                      "description": "在有效期内"
                  },
                  "surpassAppealRate": {
                      "type": "boolean",
                      "description": "超过申诉比例"
                  },
                  "quitFollow": {
                      "type": "boolean",
                      "description": "放弃跟进"
                  },
                  "transferLead": {
                      "type": "boolean",
                      "description": "转让线索"
                  },
                  "quickRefundCheckResult": {
                      "$ref": "#/components/schemas/QuickRefundCheckResultResp"
                  }
              }
          },
          "QuickRefundCheckResultResp": {
              "type": "object",
              "properties": {
                  "originalCoin": {
                      "type": "boolean",
                      "description": "是否符合原价，空前端不展示文案"
                  },
                  "leadType": {
                      "type": "boolean",
                      "description": "是否符合线索类型，空前端不展示文案"
                  },
                  "leadTypeDesc": {
                      "type": "array",
                      "description": "线索类型描述",
                      "items": {
                          "type": "string"
                      }
                  },
                  "callNum": {
                      "type": "integer",
                      "description": "联系次数",
                      "format": "int32"
                  },
                  "callStudent": {
                      "type": "boolean",
                      "description": "是否符合联系时间，空前端不展示文案"
                  },
                  "leadMark": {
                      "type": "boolean",
                      "description": "是否符合线索标记，空前端不展示文案"
                  },
                  "leadMarkDesc": {
                      "type": "array",
                      "description": "线索标签配置说明",
                      "items": {
                          "type": "string"
                      }
                  },
                  "firstFollowTimeHours": {
                      "type": "number",
                      "description": "首次跟进小时"
                  },
                  "appealDay": {
                      "type": "integer",
                      "description": "申诉天数",
                      "format": "int32"
                  }
              },
              "description": "无忧退申诉结果"
          },
          "AppealAuditRecordResp": {
              "type": "object",
              "properties": {
                  "createTime": {
                      "type": "string",
                      "description": "时间",
                      "format": "date-time"
                  },
                  "auditType": {
                      "type": "integer",
                      "description": "审核类型",
                      "format": "int32"
                  },
                  "auditStatus": {
                      "type": "integer",
                      "description": "审核状态",
                      "format": "int32"
                  },
                  "auditRemark": {
                      "type": "string",
                      "description": "备注"
                  },
                  "appealStatus": {
                      "type": "integer",
                      "description": "申诉状态",
                      "format": "int32"
                  },
                  "refundRemark": {
                      "type": "string",
                      "description": "退款备注"
                  }
              }
          },
          "StringResult": {
              "type": "object",
              "properties": {
                  "value": {
                      "type": "string",
                      "description": "字符串值"
                  }
              }
          },
          "CoachLeadListResponse": {
              "type": "object",
              "properties": {
                  "leadNo": {
                      "type": "string",
                      "description": "线索编号"
                  },
                  "leadDisplayType": {
                      "type": "integer",
                      "description": "线索显示来源类型",
                      "format": "int32"
                  },
                  "leadDisplayTypeDesc": {
                      "type": "string",
                      "description": "线索显示来源类型描述"
                  },
                  "activityId": {
                      "type": "integer",
                      "description": "活动id",
                      "format": "int64"
                  },
                  "inquiryTime": {
                      "type": "string",
                      "description": "询价时间",
                      "format": "date-time"
                  },
                  "userId": {
                      "type": "string",
                      "description": "线索用户木仓ID"
                  },
                  "userName": {
                      "type": "string",
                      "description": "线索用户名称"
                  },
                  "userAreaCode": {
                      "type": "string",
                      "description": "用户选择的地区编码"
                  },
                  "userAddress": {
                      "type": "string",
                      "description": "用户上车地址"
                  },
                  "longitude": {
                      "type": "number",
                      "description": "经度"
                  },
                  "latitude": {
                      "type": "number",
                      "description": "纬度"
                  },
                  "driveLicenseType": {
                      "type": "string",
                      "description": "驾照类型"
                  },
                  "distance": {
                      "type": "integer",
                      "description": "线索距离，单位米",
                      "format": "int32"
                  },
                  "phoneMask": {
                      "type": "string",
                      "description": "电话掩码"
                  },
                  "contactTime": {
                      "type": "string",
                      "description": "最近联系时间",
                      "format": "date-time"
                  },
                  "traceId": {
                      "type": "integer",
                      "description": "跟进id",
                      "format": "int64"
                  },
                  "traceLabel": {
                      "type": "integer",
                      "description": "跟进标签 0:未标记",
                      "format": "int32"
                  },
                  "traceLabelDesc": {
                      "type": "string",
                      "description": "跟进标签描述"
                  },
                  "traceTime": {
                      "type": "string",
                      "description": "下次跟进时间",
                      "format": "date-time"
                  },
                  "createTime": {
                      "type": "string",
                      "description": "推送时间",
                      "format": "date-time"
                  },
                  "status": {
                      "type": "integer",
                      "description": "线索状态，1-未联系2-未标记3-今日待跟进4-到期未跟进5-计划待跟进",
                      "format": "int32"
                  },
                  "leadLabel": {
                      "type": "string",
                      "description": "线索标签"
                  },
                  "phoneXContactTime": {
                      "type": "string",
                      "description": "电话线索最近通话时间",
                      "format": "date-time"
                  },
                  "inquiryChannel": {
                      "type": "integer",
                      "description": "1-询价线索2-电话线索",
                      "format": "int32"
                  },
                  "showRealPhone": {
                      "type": "boolean",
                      "description": "是否可以查看真实号码"
                  },
                  "appealStatus": {
                      "type": "integer",
                      "description": "线索申诉状态",
                      "format": "int32"
                  },
                  "canAppeal": {
                      "type": "boolean",
                      "description": "是否可以线索"
                  },
                  "refundPlatform": {
                      "type": "string",
                      "description": "退款平台"
                  },
                  "submitPoint": {
                      "type": "integer",
                      "description": "线索类型",
                      "format": "int32"
                  },
                  "valid": {
                      "type": "boolean",
                      "description": "是否有效，前端根据该字段判断线索能否跟进"
                  }
              }
          },
          "AppealReasonTypeDTO": {
              "type": "object",
              "properties": {
                  "code": {
                      "type": "integer",
                      "description": "编号",
                      "format": "int32"
                  },
                  "desc": {
                      "type": "string",
                      "description": "描述"
                  }
              }
          },
          "AppealConditionDTO": {
              "type": "object",
              "properties": {
                  "workTime": {
                      "type": "string",
                      "description": "工作时间"
                  },
                  "workContactTime": {
                      "type": "string",
                      "description": "工作联系时间"
                  },
                  "freeTime": {
                      "type": "string",
                      "description": "空闲时间"
                  },
                  "freeContactTime": {
                      "type": "string",
                      "description": "空闲时间"
                  },
                  "appealPeriod": {
                      "type": "string",
                      "description": "申诉周期"
                  },
                  "appealRate": {
                      "type": "string",
                      "description": "申诉比例"
                  },
                  "appealCount": {
                      "type": "integer",
                      "description": "申诉固定数量",
                      "format": "int32"
                  },
                  "appealResaleIntervalDays": {
                      "type": "integer",
                      "description": "线索可申诉转售天数",
                      "format": "int32"
                  }
              }
          },
          "NotifyCoachBalanceNotEnoughResp": {
              "type": "object",
              "properties": {
                  "notify": {
                      "type": "boolean",
                      "description": "是否提醒"
                  },
                  "balanceLimit": {
                      "type": "integer",
                      "description": "提醒的余额限制",
                      "format": "int32"
                  }
              }
          },
          "CoachLeadPriceResp": {
              "type": "object",
              "properties": {
                  "price": {
                      "type": "integer",
                      "description": "付钱的价格",
                      "format": "int32"
                  },
                  "discount": {
                      "type": "number",
                      "description": "折扣"
                  }
              }
          },
          "IntegerResult": {
              "type": "object",
              "properties": {
                  "value": {
                      "type": "integer",
                      "description": "数值/数量",
                      "format": "int32"
                  }
              }
          },
          "AppealDetailDescResp": {
              "type": "object",
              "properties": {
                  "appealCondition": {
                      "type": "array",
                      "description": "申诉条件",
                      "items": {
                          "type": "string"
                      }
                  },
                  "appealRule": {
                      "type": "array",
                      "description": "申诉规则",
                      "items": {
                          "type": "string"
                      }
                  },
                  "appealFlow": {
                      "type": "array",
                      "description": "申诉流程",
                      "items": {
                          "type": "string"
                      }
                  }
              }
          },
          "CoachLeadByCityResponse": {
              "type": "object",
              "properties": {
                  "inquiryTime": {
                      "type": "string",
                      "description": "询价时间",
                      "format": "date-time"
                  },
                  "userId": {
                      "type": "string",
                      "description": "线索用户木仓ID"
                  },
                  "userName": {
                      "type": "string",
                      "description": "提交线索用户名称"
                  },
                  "userAreaCode": {
                      "type": "string",
                      "description": "地域编码"
                  },
                  "userAddress": {
                      "type": "string",
                      "description": "用户上车地址"
                  },
                  "longitude": {
                      "type": "number",
                      "description": "经度"
                  },
                  "latitude": {
                      "type": "number",
                      "description": "纬度"
                  },
                  "driveLicenseType": {
                      "type": "string",
                      "description": "驾照类型"
                  },
                  "leadLabel": {
                      "type": "string",
                      "description": "线索标签"
                  },
                  "targetMode": {
                      "type": "integer",
                      "description": "线索来源，1-平台分配2-学员直投3-独享询价",
                      "format": "int32"
                  },
                  "phoneMask": {
                      "type": "string",
                      "description": "手机号掩码"
                  },
                  "inquiryChannel": {
                      "type": "integer",
                      "description": "1-询价线索2-电话线索",
                      "format": "int32"
                  }
              }
          },
          "LeadSaleListResponse": {
              "type": "object",
              "properties": {
                  "leadNo": {
                      "type": "string",
                      "description": "线索编号"
                  },
                  "inquiryTime": {
                      "type": "string",
                      "description": "询价时间",
                      "format": "date-time"
                  },
                  "userId": {
                      "type": "string",
                      "description": "线索用户木仓ID"
                  },
                  "userName": {
                      "type": "string",
                      "description": "提交线索用户名称"
                  },
                  "userAreaCode": {
                      "type": "string",
                      "description": "地域编码"
                  },
                  "userAddress": {
                      "type": "string",
                      "description": "用户上车地址"
                  },
                  "longitude": {
                      "type": "number",
                      "description": "经度"
                  },
                  "latitude": {
                      "type": "number",
                      "description": "纬度"
                  },
                  "driveLicenseType": {
                      "type": "string",
                      "description": "驾照类型"
                  },
                  "distance": {
                      "type": "integer",
                      "description": "线索距离，单位米",
                      "format": "int32"
                  },
                  "distanceTarget": {
                      "type": "string",
                      "description": "最近报名点"
                  },
                  "leadLabel": {
                      "type": "string",
                      "description": "线索标签"
                  },
                  "showStatus": {
                      "type": "integer",
                      "description": "线索状态，0-待购买1-支付中2-已抢光3-已删除4-已购买",
                      "format": "int32"
                  },
                  "showStatusDesc": {
                      "type": "string",
                      "description": "线索状态描述"
                  },
                  "phoneMask": {
                      "type": "string",
                      "description": "手机号掩码"
                  },
                  "inquiryChannel": {
                      "type": "integer",
                      "description": "1-询价线索2-电话线索",
                      "format": "int32"
                  },
                  "targetType": {
                      "type": "integer",
                      "description": "询价商家类型",
                      "format": "int32"
                  },
                  "targetId": {
                      "type": "integer",
                      "description": "询价商家id",
                      "format": "int64"
                  },
                  "id": {
                      "type": "integer",
                      "description": "线索id",
                      "format": "int64"
                  },
                  "submitPoint": {
                      "type": "integer",
                      "description": "线索类型",
                      "format": "int32"
                  },
                  "originTargetType": {
                      "type": "integer",
                      "description": "原始询价商家类型",
                      "format": "int32"
                  },
                  "originTargetId": {
                      "type": "integer",
                      "description": "原始询价商家id",
                      "format": "int32"
                  },
                  "owner": {
                      "type": "boolean",
                      "description": "是否咨询我的"
                  },
                  "discount": {
                      "type": "number",
                      "description": "折扣值"
                  },
                  "type": {
                      "type": "integer",
                      "description": "线索类型",
                      "format": "int32"
                  }
              }
          },
          "LeadPaySuccessResp": {
              "type": "object",
              "properties": {
                  "leadNo": {
                      "type": "string",
                      "description": "支付成功的线索号"
                  },
                  "value": {
                      "type": "boolean",
                      "description": "是否支付成功"
                  }
              }
          }
      }
  }
}